
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @module index
* @author: Hjava
* @description: 入离职模块
* @since: 2018-07-21 17:08:00
*/
var eventEmitter_1 = __webpack_require__(/*! _util/eventEmitter */ "./src/core/utils/eventEmitter.ts");
var corporation_constant_1 = __webpack_require__(/*! _core/Corporation/corporation.constant */ "./src/core/Corporation/corporation.constant.ts");
var corporation_session_1 = __webpack_require__(/*! _core/Corporation/corporation.session */ "./src/core/Corporation/corporation.session.ts");
var CorporationSDK = /** @class */ (function () {
    function CorporationSDK(loginSDK) {
        this._loginSDK = null;
        this.constant = corporation_constant_1.default;
        this._loginSDK = loginSDK;
        eventEmitter_1.default.on(corporation_constant_1.default.Corporation.URI_CORP_BIND, this._bindCorporation.bind(this));
        eventEmitter_1.default.on(corporation_constant_1.default.Corporation.URI_CORP_UNBIND, this._unbindCorporation.bind(this));
    }
    CorporationSDK.prototype._bindCorporation = function (message) {
        eventEmitter_1.default.emit("bindCorporation", message);
    };
    CorporationSDK.prototype._unbindCorporation = function (message) {
        eventEmitter_1.default.emit("unBindCorporation", message);
    };
    CorporationSDK.constant = corporation_constant_1.default;
    CorporationSDK.Session = corporation_session_1.default;
    return CorporationSDK;
}());
exports.default = CorporationSDK;


//# sourceURL=webpack://MTDX/./src/core/corporation/index.ts?